Snapcraft version string doesn't allow certain characters
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
version: '2018_931-01'
"Issues while validating None: The 'version' property does not match the required schema: '2018_931-01' is not a valid snap version. Snap versions consist of upper- and lower-case alphanumeric characters, as well as periods, colons, plus signs, tildes, and hyphens. They cannot begin with a period, colon, plus sign, tilde, or hyphen. They cannot end with a period, colon, or hyphen.
"
The output of 'snapcraft init' says:-
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
If it's "Just for humans" then maybe we shouldn't prescribe what version number the upstream developer should use, in their already established version system?
Evaluation history
No evaluation history available.